/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lolbuilder.Champions.Impl;

import java.util.ArrayList;
import lolbuilder.Champions.Interf.DummyChamp;
import lolbuilder.Champions.Interf.Spell;
import lolbuilder.Champions.Spells.effects.ImpureShots;

/**
 *
 * @author chocoboSan
 */
public class MissFortune extends DummyChamp {
    public MissFortune() {
        name="MF";
        ad=(int)Math.floor(46.5+17*3);
        ap=0;
        hp=435+17*85;
        curHp=hp;
        rm=30;
        arm=15+3*17;
        mana=212+17*38;
        cdr=0;
        ls=0;
        regenhp=(int)Math.floor(5.1+0.65*17);
        sv=0;
        armpen=0;
        armpenPer=0;
        as=(float) 0.922;
        ms=300;
        critD=200;
        bonusMgcDmg=14*4;
        critP=1;
        setSpells();
    }
    
    @Override
    public void resetStats() {
        super.resetStats();
        ad=(int)Math.floor(46.5+17*3);
        ap=0;
        hp=435+17*85;
        curHp=hp;
        rm=30;
        arm=15+3*17;
        mana=212+17*38;
        cdr=0;
        ls=0;
        bonusMgcDmg=14*4;
        regenhp=(int)Math.floor(5.1+0.65*17);
        sv=0;
        armpen=0;
        armpenPer=0;
        as=(float)0.922;
        ms=300;
        critD=200;
        critP=1;
        setSpells();
    }
    
    @Override
    public void setSpells() {
        spells=new ArrayList<Spell>();
        Spell one=new Spell();
        Spell two=new Spell();
        Spell three=new Spell();
        Spell four=new Spell();
        spells.add(one);spells.add(two);spells.add(three);spells.add(four);
        
        
        two.hasEffect=true;
        two.effect=new ImpureShots();
        
        one.setBaseDmg(198);
        two.setBaseDmg(0);
        three.setBaseDmg(310);
        four.setBaseDmg(100);
        
        one.setIsPhyDmg(true);
        three.setIsMgcDmg(true);
        four.setIsPhyDmg(true);
        
        one.setHasAdRatio(true);
        two.setHasAdRatio(false);
        three.setHasAdRatio(false);
        four.setHasAdRatio(true);
        
        one.setHasApRatio(false);
        two.setHasApRatio(false);
        three.setHasApRatio(true);
        four.setHasApRatio(true);
        
        one.setAdRatio(0.9);
        two.setAdRatio(0);
        three.setAdRatio(0);
        four.setAdRatio(0.45);
        
        one.setApRatio(0);
        two.setApRatio(0);
        three.setApRatio(0.8);
        four.setApRatio(0.2);
        
        
        one.setCd(5);
        two.setCd(16);
        three.setCd(15);
        four.setCd(100);
    }
    
}
